<?php

//honeypot
Route::middleware([\Hilaoyu\LaravelExtend\Services\Honeypot\HoneypotMiddleware::class])
    ->group(function () {
        Route::get('dev-adduser', function () {
            return comResponse()->success()->view('LaravelExtend::honeypot.adduser');
        })
            ->name('.dev-adduser');
        Route::post('dev-adduser', function () {
            return comResponse()->success()->withErrors(['资料不完整或不正确，请重试！'])->back();
        })
            ->name('.dev-adduser.save');
    });

